<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>KSYMPErrorCode Constants Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">KSYMediaPlayer_iOS </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">Kingsoft</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	

	

	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">KSYMPErrorCode Constants Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Declared in</th>
	<td>KSYMoviePlayerDefines.h</td>
</tr>
						</tbody></table></div>
					

                    

					

                    
                    <h3 class="subsubtitle method-title">KSYMPErrorCode</h3>
                    
					
					<div class="section section-overview">
                        <p>错误码</p>
					</div>
					
					
                    <div class="section">
                        <!-- display enum values -->
                        
                        <h4 class="method-subtitle">Definition</h4>
                        <code>typedef NS_ENUM(NSInteger, KSYMPErrorCode ) {<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPOK</a> = 0,<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPErrorCodeUnknownError</a> = 1,<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPErrorCodeFileIOError</a> = -1004,<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPErrorCodeUnsupportProtocol</a> = -10001,<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPErrorCodeDNSParseFailed</a> = -10002,<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPErrorCodeCreateSocketFailed</a> = -10003,<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPErrorCodeConnectServerFailed</a> = -10004,<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPErrorCodeBadRequest</a> = -10005,<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPErrorCodeUnauthorizedClient</a> = -10006,<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPErrorCodeAccessForbidden</a> = -10007,<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPErrorCodeTargetNotFound</a> = -10008,<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPErrorCodeOtherErrorCode</a> = -10009,<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPErrorCodeServerException</a> = -10010,<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPErrorCodeInvalidData</a> = -10011,<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPErrorCodeUnsupportVideoCodec</a> = -10012,<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPErrorCodeUnsupportAudioCodec</a> = -10013,<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPErrorCodeVideoDecodeFailed</a> = -10014,<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPErrorCodeAudioDecodeFailed</a> = -10015,<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPErrorCode3xxOverFlow</a> = -10016,<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPErrorInvalidURL</a> = -10050,<br>
                            
                            &nbsp;&nbsp; <a href="">KSYMPErrorNetworkUnReachable</a> = -10051,<br>
                            
                            };</code>
                    
                    </div>
                    
                    <div class="section section-methods">
                        <h4 class="method-subtitle">Constants</h4>
                        <dl class="termdef">
                            
                            <dt><a name="" title="KSYMPOK"></a><code>KSYMPOK</code></dt>
<dd>


<p>正常</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="KSYMPErrorCodeUnknownError"></a><code>KSYMPErrorCodeUnknownError</code></dt>
<dd>


<p>未知错误</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="KSYMPErrorCodeFileIOError"></a><code>KSYMPErrorCodeFileIOError</code></dt>
<dd>


<p>读写数据异常</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="KSYMPErrorCodeUnsupportProtocol"></a><code>KSYMPErrorCodeUnsupportProtocol</code></dt>
<dd>


<p>不支持的流媒体协议</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="KSYMPErrorCodeDNSParseFailed"></a><code>KSYMPErrorCodeDNSParseFailed</code></dt>
<dd>


<p>DNS解析失败</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="KSYMPErrorCodeCreateSocketFailed"></a><code>KSYMPErrorCodeCreateSocketFailed</code></dt>
<dd>


<p>创建socket失败</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="KSYMPErrorCodeConnectServerFailed"></a><code>KSYMPErrorCodeConnectServerFailed</code></dt>
<dd>


<p>连接服务器失败</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="KSYMPErrorCodeBadRequest"></a><code>KSYMPErrorCodeBadRequest</code></dt>
<dd>


<p>http请求返回400</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="KSYMPErrorCodeUnauthorizedClient"></a><code>KSYMPErrorCodeUnauthorizedClient</code></dt>
<dd>


<p>http请求返回401</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="KSYMPErrorCodeAccessForbidden"></a><code>KSYMPErrorCodeAccessForbidden</code></dt>
<dd>


<p>http请求返回403</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="KSYMPErrorCodeTargetNotFound"></a><code>KSYMPErrorCodeTargetNotFound</code></dt>
<dd>


<p>http请求返回404</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="KSYMPErrorCodeOtherErrorCode"></a><code>KSYMPErrorCodeOtherErrorCode</code></dt>
<dd>


<p>http请求返回4xx</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="KSYMPErrorCodeServerException"></a><code>KSYMPErrorCodeServerException</code></dt>
<dd>


<p>http请求返回5xx</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="KSYMPErrorCodeInvalidData"></a><code>KSYMPErrorCodeInvalidData</code></dt>
<dd>


<p>无效的媒体数据</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="KSYMPErrorCodeUnsupportVideoCodec"></a><code>KSYMPErrorCodeUnsupportVideoCodec</code></dt>
<dd>


<p>不支持的视频编码类型</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="KSYMPErrorCodeUnsupportAudioCodec"></a><code>KSYMPErrorCodeUnsupportAudioCodec</code></dt>
<dd>


<p>不支持的音频编码类型</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="KSYMPErrorCodeVideoDecodeFailed"></a><code>KSYMPErrorCodeVideoDecodeFailed</code></dt>
<dd>


<p>视频解码失败</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="KSYMPErrorCodeAudioDecodeFailed"></a><code>KSYMPErrorCodeAudioDecodeFailed</code></dt>
<dd>


<p>音频解码失败</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="KSYMPErrorCode3xxOverFlow"></a><code>KSYMPErrorCode3xxOverFlow</code></dt>
<dd>


<p>次数过多的3xx跳转(8次)</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="KSYMPErrorInvalidURL"></a><code>KSYMPErrorInvalidURL</code></dt>
<dd>


<p>无效的url</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="KSYMPErrorNetworkUnReachable"></a><code>KSYMPErrorNetworkUnReachable</code></dt>
<dd>


<p>网络不通</p>





    
	<p>
		Declared In <code class="declared-in-ref">KSYMoviePlayerDefines.h</code>.
	</p>
	
</dd>
                            
                        </dl>
                    </div>
                    

                    
                    

                    

                    
                    <div class="method-subsection declared-in-section">
                        <h4 class="method-subtitle">Declared In</h4>
                        <p><code class="declared-in-ref">KSYMoviePlayerDefines.h</code></p>
                    </div>
                    
                    
                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>
